package user.service;

import core.domain.ListDataInfo;
import user.domain.exam.dto.ExamQueryDTO;
import user.domain.exam.dto.ExamRankDTO;
import user.domain.exam.vo.ExamVO;

import java.util.List;

public interface IExamService {

    List<ExamVO> list(ExamQueryDTO query);

    ListDataInfo redisList(ExamQueryDTO query);

    String getFirstQuestion(Long examId);

    String preQuestion(Long examId, Long questionId);

    String nextQuestion(Long examId, Long questionId);

    ListDataInfo rankList(ExamRankDTO examRankDTO);
}
